package com.shishuo.cms.entity;

public class OrderDetail{
	private Integer id;
	private Integer orderId;
	private long productId;
	private Double productPrice;
	private Integer productNum;
	
	private Product product;
	
	public OrderDetail(){
	}

	public Product getProduct() {
		return product;
	}

	public void setProduct(Product product) {
		this.product = product;
	}

	public OrderDetail(Integer id){
		this.id = id;
	}

	public void setId(Integer id) {
		this.id = id;
	}
	
	public Integer getId() {
		return this.id;
	}
	public void setOrderId(Integer orderId) {
		this.orderId = orderId;
	}
	
	public Integer getOrderId() {
		return this.orderId;
	}
	public void setProductId(long productId) {
		this.productId = productId;
	}
	
	public long getProductId() {
		return this.productId;
	}
	public void setProductPrice(Double productPrice) {
		this.productPrice = productPrice;
	}
	
	public Double getProductPrice() {
		return this.productPrice;
	}
	public void setProductNum(Integer productNum) {
		this.productNum = productNum;
	}
	
	public Integer getProductNum() {
		return this.productNum;
	}

}

